package com.zhinan.entity;

import com.zhinan.common.BaseEntity;
import lombok.Data;
import java.io.Serializable;

/**
 * @Description: 菜单资源实体类
 * @Author: ZhiNan
 * @Date: 2023-04-07 15:20
 * @Version: 1.0
 */
@Data
public class Menu extends BaseEntity implements Serializable  {
    private static final long serialVersionUID = 804059355596492093L;

    private Long id;
    /**
     * 父级菜单ID
     */
    private Long parentId;
    /**
     * 菜单标题
     */
    private String title;

    /**
     * 菜单图标
     */
    private String icon;
    /**
     * 类型,0-目录;1-菜单
     */
    private Integer type;
    /**
     * 当type为1的时候生效，_iframe正常打开,_blank新建浏览器标签页
     */
    private String openType;
    /**
     * 菜单路径
     */
    private String href;
    /**
     * 是否可用,1-可用,0-禁用
     */
    private Integer status;
    /**
     * 排序
     */
    private Integer sort;

}


